Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Getting error '488' using Net::SIP::Simple

by gman (Friar)
on Sep 27, 2010 at 19:53 UTC ( [id://862280]=note: print w/replies, xml ) Need Help??


in reply to Getting error '488' using Net::SIP::Simple

Hello,

I believe , your invite needs to be formatted like a typical SIP URI;

sip:<extension>@<ip_address>

http://www.voip-info.org/wiki/view/SIP+URI
1285616672.1717 DEBUG:<2> REQ INVITE sip:2145555555@192.168.1.2 +54 with body 1285616672.1753 DEBUG:<2> Net::SIP::Leg::receive[421]: received on 192 +.168.1.254:42508 from 192.168.1.254:5060 packet

Your asterisk has to either have an extension built for the address / phone number in sip.conf and extensions.conf or your registered agent must have access to your outbound context in extensions.conf and match a extension;  exten => _1NXXNXXXXXX

UPDATE: I tested your code and it works, correcting the URI. Also, the extension does not have to be _1NXX.... it just has to match your dialing pattern.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://862280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2025-11-06 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (65 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.