Hallo Forumsgemeinde,
ich habe ein kleines Problem mit meiner Konfiguration.
Ich möchte für mein NVFax Softfax den Codec "ulaw" und für normales VOIP Telefonieren den Codec "gsm" verwenden.
Ich verwende 2 Sip Provider, einmal Sipgate.at und einmal Sipcall (voipgateway.org).
Habe bei beiden Providern eine Leitung für Fax und eine für Sprache.
Leider funktioniert es nicht, dass ich auf der Fax Leitung "ulaw" bekomme, sondern immer nur "gsm".
Nach etlichem rumprobieren in den Configs, hab ich diese nun so gelassen.
Ich komm einfach nicht drauf :noidea:
Vielleicht könnt ihr mir helfen.
ich habe ein kleines Problem mit meiner Konfiguration.
Ich möchte für mein NVFax Softfax den Codec "ulaw" und für normales VOIP Telefonieren den Codec "gsm" verwenden.
Ich verwende 2 Sip Provider, einmal Sipgate.at und einmal Sipcall (voipgateway.org).
Habe bei beiden Providern eine Leitung für Fax und eine für Sprache.
Leider funktioniert es nicht, dass ich auf der Fax Leitung "ulaw" bekomme, sondern immer nur "gsm".
Nach etlichem rumprobieren in den Configs, hab ich diese nun so gelassen.
Ich komm einfach nicht drauf :noidea:
Vielleicht könnt ihr mir helfen.
Code:
sip.conf
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
externip=xx.xx.xx.xx
disallow=all
allow=ulaw
allow=alaw
allow=gsm
; If you need to answer unauthenticated calls, you should change this
; next line to 'from-trunk', rather than 'from-sip-external'.
; You'll know this is happening if when you call in you get a message
; saying "The number you have dialed is not in service. Please check the
; number and try again."
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
tos=0x68
Code:
sip_additional.conf
register=43720fax:[email protected]/
register=43720sprache:[email protected]/
register=4732sprache:[email protected]/
register=4733fax:[email protected]/
[200]
type=friend
secret=1234
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes
host=dynamic
dtmfmode=rfc2833
dial=SIP/200
context=from-internal
canreinvite=no
callerid=device <200>
accountcode=1234
[210]
type=friend
secret=1234
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes
mailbox=1234
host=dynamic
dtmfmode=rfc2833
dial=SIP/210
context=from-internal
canreinvite=no
callerid=device <210>
[43720fax]
type=user
secret=xxx
qualify=yes
nat=yes
fromuser=43720fax
disallow=all
context=from-trunk
canreinvite=no
allow=ulaw
allow=alaw
[43720sprache]
type=user
secret=xxx
qualify=yes
nat=yes
fromuser=43720sprache
disallow=all
context=from-trunk
canreinvite=no
allow=gsm
allow=ulaw
[4732sprache]
type=user
secret=xxx
qualify=yes
nat=yes
fromuser=4732sprache
context=from-trunk
canreinvite=no
allow=gsm
[4733fax]
type=user
secret=xxx
qualify=yes
nat=yes
fromuser=473fax
disallow=all
context=from-trunk
canreinvite=no
allow=alaw
allow=ulaw
[Fax]
username=43720fax
type=friend
tos=0x18
secret=xxxx
relaxdtmf=yes
qualify=yes
nat=yes
insecure=very
host=voipgateway.org
fromuser=43720fax
fromdomain=voipgateway.org
dtmfmode=inband
disallow=all
canreinvite=yes
allow=ulaw
allow=alaw
[Leitung 1]
username=43720sprache
type=peer
tos=0x18
secret=xxx
relaxdtmf=yes
qualify=yes
nat=yes
insecure=very
host=voipgateway.org
fromuser=43720xxx
dtmfmode=inband
disallow=all
allow=gsm
allow=ulaw
[sipgate]
username=4732sprache
type=friend
tos=0x18
secret=xxx
relaxdtmf=yes
qualify=yes
nat=yes
insecure=very
host=sipgate.at
fromuser=4732sprache
fromdomain=sipgate.at
dtmfmode=inband
disallow=all
canreinvite=yes
allow=gsm
[Sipgate fax]
username=4733fax
type=friend
tos=0x18
secret=xxx
relaxdtmf=yes
qualify=yes
nat=yes
insecure=very
host=sipgate.at
fromuser=4733fax
fromdomain=sipgate.at
dtmfmode=inband
disallow=all
canreinvite=yes
allow=alaw
allow=ulaw
allow=gsm