[OpenSIPS-Devel] SIP 302 REDIRECT SERVER

acatao andersoncatao at hotmail.com
Wed Mar 9 20:50:14 CET 2016


Eric Tamme-3 Thank you very much ! You were so fast !!!

I followed the tutorial and I have some issues:

When I got a packet from one asterisk server working well as redirect server
I got this pcap:

<http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7601970/asterisk.png> 

When I got a packet from opensips server trying to work as redirect server I
got this pcap:

<http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7601970/opensips.png> 


In my opensips.conf:

if (is_method("INVITE")) {
		
		# create dialog with timeout
		if ( !create_dialog("B") ) {
			send_reply("500","Internal Server Error");
			exit;
		}
		
		setflag(ACC_DO); # do accounting
		exec_dset("/usr/local/opensips_proxy/sbin/qryNumber $tU");
		sl_send_reply("302", "Moved Temporarily");

	}


Ps.: qryNumber script returns sip:1234567 at 172.16.12.1:5060


My doubts are:

1º - How can I add "Sip Display Info: Transfer" ?

2º - How can I make my CSeq Allow: INVITE, ACK, CANCEL, BYE.....








--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/SIP-302-REDIRECT-SERVER-tp7601968p7601970.html
Sent from the OpenSIPS - Devel mailing list archive at Nabble.com.



More information about the Devel mailing list