Is this a SIP problem===>

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Is this a SIP problem===>

Postby ruben23 » Mon Nov 24, 2008 10:59 am

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:
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mcargile » Mon Nov 24, 2008 4:24 pm

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.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Postby ruben23 » Mon Nov 24, 2008 5:37 pm

hi i already done restarting the asterisk server several times...but still the same....problem..
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mcargile » Tue Nov 25, 2008 1:29 pm

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.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Well.... still the job is done

Postby rajiv_kuin » Fri Nov 28, 2008 7:51 pm

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....
rajiv_kuin
 
Posts: 28
Joined: Mon Apr 21, 2008 3:09 am

Postby williamconley » Fri Nov 28, 2008 7:59 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby ruben23 » Mon Dec 01, 2008 11:08 am

thanks all...i got it....its with the sip.conf two user missed the input dtmfmode=283...just correct it with rfc 2833.. :D
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 232 guests