Nestor A. Diaz
2008-Aug-19 11:57 UTC
[asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Hello Asterisk People, I am having trouble connecting asterisk to a huawei SoftX3000 Switch, i can succesfully connect other softphones like Zoiper, but when it comes to Asterisk SIP Client, the system doesn't authenticate, i have the following configuration: peer: 10.220.0.2 username: 4857768 password: 4857768 the configuration is as follows: in the general section: register => 4857768:4857768 at epmbog in the sip client / peers section: [epmbog] type=peer host=10.220.0.2 secret=4857768 username=4857768 canreinvite=no [Aug 19 06:48:28] NOTICE[7608]: chan_sip.c:12525 handle_response_register: Failed to authenticate on REGISTER to '4857768 at epmbog' (Tries 3) i have tested numerous variants, but the huawei refuse to authenticate the asterisk. i attache the logs producted with Zoiper, and the one produced with Asterisk. Any help will be greatly apreciated. Thanks. -- Nestor A. Diaz Ingeniero de Sistemas Tel. +57 1-600-5490 x 211 Cel. +57 316-227-3593 Tel. SIP: sip:211 at tiendalinux.com Email/MSN: nestor at tiendalinux.com http://www.tiendalinux.com/ Bogota, Colombia -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: registry-zopier.txt Url: http://lists.digium.com/pipermail/asterisk-users/attachments/20080819/3b23dd25/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: registry-asterisk.txt Url: http://lists.digium.com/pipermail/asterisk-users/attachments/20080819/3b23dd25/attachment-0001.txt
Philipp Kempgen
2008-Aug-19 12:26 UTC
[asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Nestor A. Diaz schrieb:> I am having trouble connecting asterisk to a huawei SoftX3000 Switch, i > can succesfully connect other softphones like Zoiper, but when it comes > to Asterisk SIP Client, the system doesn't authenticate, i have the > following configuration:[...]> i attache the logs producted with Zoiper, and the one produced with > Asterisk.Did you enable pedantic=yes in sip.conf? Gr??e, Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Nestor A. Diaz
2008-Aug-19 12:48 UTC
[asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Philipp Kempgen wrote:> Did you enable pedantic=yes in sip.conf? >thank you very much for your help, it fix the problem. Is there any other issue that i have to take in mind for placing calls ? is there any option for set up pedantic for selected peers ? i use broadvoice too and it requires pedantic=no on the configuration: http://www.broadvoice.com/support_install_asterisk.html , how can coexist this two peers on just one asterisk ? [general] context=from-sip ; Default context for incoming calls allowguest=no ; Allow or reject guest calls (default is yes) allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls pedantic=yes ; Enable checking of tags in headers, language=es ; Default language setting for all users/peers dtmfmode = rfc2833 ; Set default dtmfmode for sending DTMF. Default: rfc2833 rtptimeout=60 ; Terminate call if 60 seconds of no RTP or RTCP activity rtpholdtimeout=300 ; Terminate call if 300 seconds of no RTP or RTCP activity limitonpeers = yes ; Apply call limits on peers only. This will improve #include custom.d/sip_general.conf [authentication] #include custom.d/sip.conf -- Nestor A. Diaz Ingeniero de Sistemas Tel. +57 1-600-5490 x 211 Cel. +57 316-227-3593 Tel. SIP: sip:211 at tiendalinux.com Email/MSN: nestor at tiendalinux.com http://www.tiendalinux.com/ Bogota, Colombia