Page 1 of 1

Is this a SIP problem===>

PostPosted: Mon Nov 24, 2008 10:59 am
by ruben23
Hi again....please look into this if this is an error on the CLI when i input sip reload i got this log message....

Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 120, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 120, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 130, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 130, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 140, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 140, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 150, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 150, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 160, using rfc2833
Nov 24 23:51:11 WARNING[2568]: chan_sip.c:12092 handle_common_options: Unknown dtmf mode 'rfc283' on line 160, using rfc2833

it bothers me..coz i think this is not suppost to be the output...
this is my sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0

[VoIP]
disallow=all
allow=g729
type=friend
host=***.***.***.***
dtmfmode=rfc2833
qualify=1000

[1001]
disallow=all
allow=g729
type=friend
username=1001
secret=1001
host=dynamic
dtmfmode=rfc2833
qualify=1000

[1002]
disallow=all
allow=g729
type=friend
username=1002
secret=1002
host=dynamic
dtmfmode=rfc2833
qualify=1000

[1003]
disallow=all
allow=g729
type=friend
username=1003
secret=1003
host=dynamic
dtmfmode=rfc2833
qualify=1000

[1004]
disallow=all
allow=g729
type=friend
username=1004
secret=1004
host=dynamic
dtmfmode=rfc2833
qualify=1000


:shock:

PostPosted: Mon Nov 24, 2008 4:24 pm
by mcargile
Try rebooting the server or stopping and restarting asterisk. Sometimes a "sip reload" or "reload" does not completely reload everything.

I have seen on rare undisplayable characters sneak into a config file and screw things up.

PostPosted: Mon Nov 24, 2008 5:37 pm
by ruben23
hi i already done restarting the asterisk server several times...but still the same....problem..

PostPosted: Tue Nov 25, 2008 1:29 pm
by mcargile
First off which version of Asterisk are you using?

Also try passing the file through the command line tool dos2unix. It does a pretty good job of removing characters that Unix systems think of as strange.

If that does not work try editing the file with mc (midnight commander). It is fairly good at displaying odd characters and letting you delete them.

If that does not work move your sip.conf to like sip.conf.back and recreate it by hand on the linux command line. This will insure that no strange character sneak into the file.

If that does not work there may be a bug in asterisk.

Well.... still the job is done

PostPosted: Fri Nov 28, 2008 7:51 pm
by rajiv_kuin
I guess its not best thing to say but asterisk still used the rfc2833 as default so operational point i think you wont face any issues with it....

PostPosted: Fri Nov 28, 2008 7:59 pm
by williamconley
what method are you using to edit the .conf file? i've found that some windows editors will put the wrong line endings in and cause the last character to be deleted. opening the file in a linux text editor and re-saving it can help. just a thought.

PostPosted: Mon Dec 01, 2008 11:08 am
by ruben23
thanks all...i got it....its with the sip.conf two user missed the input dtmfmode=283...just correct it with rfc 2833.. :D