To do that you need to get the remote ip address and port of the sip peer! I found the function:
${SIPPEER(exten:ip) But how can I get the port??? http://www.voip-info.org/wiki/index.php?page=Asterisk+func+sippeer You have all sorts of info BUT... I see no port!!! :-( I can't believe that you wouldn't be able to get the port via a simple dial plan function??? -----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Mojo with Horan & Company, LLC Verzonden: woensdag 19 april 2006 0:59 Aan: Asterisk Users Mailing List - Non-Commercial Discussion Onderwerp: Re: [Asterisk-Users] Sending SIP NOTIFY I think sipsak can do that for you TWV wrote: > I should probably add that I tried by creating my own section in > sip_notify.conf but is it possible that you can't include a body there (only > headers)? > When I just add a line (with no =>) it is sent in the notify message, but > with no whitespace preceding it (thus part of the headers instead of body)! > > But anyway this wouldn't be a good solution as the body text needs to be > dynamic. > > Can you somehow pass body data to the "sip notify" command? > > Any other suggestions? > > -Fre > > > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens TWV > Verzonden: dinsdag 18 april 2006 0:15 > Aan: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Onderwerp: [Asterisk-Users] Sending SIP NOTIFY > > How can I send a custom SIP NOTIFY message to one of my asterisk users > (phones)? > > With custom I mean a NOTIFY message with my own body text. > (and specific content-type) > > Thanks! > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Mojo <[EMAIL PROTECTED]> Office Manger, Horan & Company, LLC (907) 747-6666 x112 _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users