[Asterisk-Users] crazy optipoint 400sip and asterisk

listas iPfone listas at ipfone.com.br
Mon Jul 12 13:44:41 MST 2004


Hi all,

after a good time trying i made the optipoint work with asterisk...

this is very strange but.. maybe someone can do it and tell me what happens:

I have two peers in sip.conf :

[19]
accountcode=19
amaflags=billing
type=friend
username=19
secret=
host=dynamic
nat=yes
qualify=1000
context=sip

[optipoint]
type=friend
secret=
username=optipoint
host=dynamic
defaultip=192.168.0.36
dtmfmode=inband
canreinvite=yes
nat=yes
qualify=1000
mailbox=331
context=internal
callerid="optipoint" <optipoint>

In extensions.conf:

exten => 37,1,DIAL(SIP/optipoint,20,tr)


The optipoint is configured in that way:


Terminal number:   19
Terminal name:   19
Register by terminal name:   x


SIP details:
SIP routing: Gateway
Registrar IP address or DNS name:   192.168.0.34 (my *)
Server IP address or DNS name:  192.168.0.34
Gateway IP address or DNS name:   192.168.0.34
Outbound proxy:
Default OBP domain:
SIP transport:  UDP
SIP session timer enabled:   x
SIP session timer value (1800-3600):  3600seconds
Registration timer value:  3600seconds
SIP realm:   asterisk
SIP user ID:   19
New SIP password:   -
Confirm SIP password:   -
Beep on SIP server error:   x


cli shows:

asterisk-eth0*CLI> sip show peers
Name/username    Host                 Mask             Port     Status
optipoint/optip  192.168.0.36    (D)  255.255.255.255  1028     OK (118 ms)
19/19            192.168.0.36    (D)  255.255.255.255  1028     OK (131 ms)


Now i can make calls to optipoint using "37" and make calls from optipoint
using "19"
in diferent contexts with includes.

Note that * is registered like gateway in the optipoint conf pages

regards

Miklos





More information about the asterisk-users mailing list