[afnog] SIP
SM
sm at resistor.net
Sat Dec 12 09:56:14 UTC 2009
At 06:45 08-12-2009, Pamela Pomary wrote:
>i have a installed and configured asterisk on freebsd and i have error
>message :no matching peer found asterisk while a client calls.
> Any help?
>
>
>
>here is what i have in sip.conf
>
>
>
>[101] ;define the extension eg 101,102,111 etc
>username=101 ;user should be the same as the extension
>number
>secret=ugphea ;a password for logging in
>type=user ;type friend
>
>
>
>[112]
>username=112
>secret=112
>type=user
>
>
>[113]
>username=113
>secret=113
>type=user
Add context=sipusers in the above.
In your extensions.conf:
[sipusers]
exten => 111,1,Dial(SIP/111)
exten => 111,2,Hangup
exten => 112,1,Dial(SIP/112)
exten => 112,2,Hangup
exten => 113,1,Dial(SIP/113)
exten => 113,2,Hangup
Regards,
-sm
More information about the afnog
mailing list