[Asterisk-Users] sip phone problem

Antonio Diego almodovarcebrian at yahoo.com
Wed May 26 01:20:08 MST 2004


 --- Antonio Diego <almodovarcebrian at yahoo.com>
escribió: > >Hi,
> >First you need to upgrade to the latest CVS and
> then
> insert a second /
> >third priority line with hangup in the dialplan.
> >Regds
> >Vivian Alan
> 
> Hi Alan, thanks for your help.
> 
> My hardware is:
> -5 budgetone 100
> -2 handytone-286
> -Asterisk server running on Pentium IV, RAM 1GB,
> RedHat 8.0.
> 
> 
> I've just upgraded Asterisk and modified
> extensions.conf. My extensions.conf:
>  
> ; extensions.conf
> [globals]
> ;static=yes
> EXTEN106=SIP/sip1
> EXTEN107=SIP/sip2
> EXTEN108=SIP/sip3
> EXTEN109=SIP/sip4
> EXTEN110=SIP/sip5
> EXTEN111=SIP/sip6
> EXTEN112=SIP/sip7
>  
> [telefonos]
> include => todos
> 
> [todos]
> exten => _1XX,1,NoOp()
> exten => _1XX,2,Dial(${EXTEN${EXTEN}})
> exten => _1XX,3,Hangup
> exten => _1XX,4,Hangup
> exten => _1XX,103,Hangup
> exten => h,1,Hangup
> exten => t,1,Hangup
>  
> My sip.conf
>  
> [general]
> disallow=all
> allow=alaw
> ;tos=lowdelay
> bindaddr=0.0.0.0
> nat=no
> language=es
> 
> [sip1]
> type=friend
> secret=sip1
> host=dynamic
> defaultip=172.16.190.100
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip1" <106>
>  
> [sip2]
> type=friend
> secret=sip2
> host=dynamic
> defaultip=172.16.190.101
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip2" <107>
> 
> [sip3]
> type=friend
> secret=sip3
> host=dynamic
> defaultip=172.16.190.102
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip3" <108>
> 
> [sip4]
> type=friend
> secret=sip4
> host=dynamic
> defaultip=172.16.190.103
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip4" <109>
> 
> [sip5]
> type=friend
> secret=sip5
> host=dynamic
> defaultip=172.16.190.104
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip5" <110>
> 
> [sip6]
> type=friend
> secret=sip6
> host=dynamic
> defaultip=172.16.190.105
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip6" <111>
> 
> [sip7]
> type=friend
> secret=sip7
> host=dynamic
> defaultip=172.16.190.106
> dtmfmode=rfc2833
> context=telefonos
> callerid="sip7
> 
> And the problem is still the same: Asterisk doesn't
> detect the budgetone hangup.
> 
> The configuration of the Grandstream phones are:
> -for sip1
> http://tonidiego.webcindario.com/sip1.htm
> -for sip2
> http://tonidiego.webcindario.com/sip2.htm
> -for sip3
> http://tonidiego.webcindario.com/sip3.htm
> -for sip4
> http://tonidiego.webcindario.com/sip4.htm
> -for sip5
> http://tonidiego.webcindario.com/sip5.htm
> -for sip6
> http://tonidiego.webcindario.com/sip6.htm
> -for sip7
> http://tonidiego.webcindario.com/sip7.htm
> 
> 
> Thanks in advance
> 
> 

OK. I solved the problem. 
MUCHAS GRACIAS SERGIO.

We added the global parameter "port=5060" in sip.conf.
That's all.
Everything is working OK.




_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



More information about the asterisk-users mailing list